package com.example.bean;

import java.io.Serializable;

/**
 * @program: sms
 * @description:
 * @author: zhanghz001
 * @create: 2020-11-03 16:50
 **/
public class User1 implements Serializable {
    private static final long serialVersionUID = -4954856044245595470L;
    private String name = "黑马程序员";
    private int age = 18;
    private Address address = new Address();

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", address=" + address +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
